package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bigdata.common.core.domain.BaseEntity;

/**
 * 用户收藏业务对象 user_collections
 *
 * @author ruoyi
 * @date 2025-07-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UserCollectionsBo extends BaseEntity {

    /**
     * 收藏记录ID
     */
    @NotBlank(message = "收藏记录ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 收藏者用户ID
     */
    private Long userId;

    /**
     * 被收藏的资源ID
     */
    @NotBlank(message = "被收藏的资源ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String datasetId;

    /**
     * 收藏时间
     */

    private Date collectionTime;

    /**
     * 收藏状态
     */

    private String collectionStatus;
    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;

}
